# Contributor: Ariadne Conill <ariadne@dereferenced.org>
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=restool
pkgver=2.3.0
pkgrel=0
pkgdesc="configuration tool for DPAA2 management complex"
url="https://source.codeaurora.org/external/qoriq/qoriq-components/restool"
arch="aarch64"
license="BSD-3-Clause OR GPL-2.0-or-later"
makedepends="coreutils linux-headers"
subpackages="$pkgname-bash-completion"
source="https://dev.alpinelinux.org/~nenolod/restool-$pkgver.tar.xz
	no-manpage.patch"
options="!check" # No test suite.

build() {
	make MANPAGE=
}

package() {
	make MANPAGE= DESTDIR="$pkgdir" prefix="/usr" install
}

sha512sums="
ab538bdc5e71616b1d028d6ad576fef80b53effdb31e5f1c681c6b1179bbd8ccb3aafbe634201f71fcc41c85614586549b1fe587cc8396cda252a8af1b0b73cd  restool-2.3.0.tar.xz
621ff51b740fee17298974ba9922a4b631151c6f0222435a61c559d96166e22c644fcedfc7f246fd29be0fa5f67dd7308b457b94e28edb10ca53a680426f909e  no-manpage.patch
"
